package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name     string `json:"name" gorm:"type:varchar(30);not null;comment:'姓名'"`
	Password string `json:"password" gorm:"type:varchar(30);not null;comment:'密码'"`
	Mobile   string `json:"mobile" gorm:"type:varchar(11);not null;comment:'联系方式'"`
	TicketId int    `json:"ticketId" gorm:"type:int(11);comment:'票id'"`
}
